Kubio\Core\Blocks\BlockBase A

Total Complexity 70
Dependencies 10
Dependents 0
Total lines 403
Lines of code 297
Logical lines of code 143
Comment lines 10
Methods 33
Properties 9

Methods 33

Method Rating Maintainability Complexity Lines of code
toElement()
A
41 10 56
mapPropsToElementsWithDefaults()
A
47 10 39
__construct()
S
50 3 31
findElementBy()
S
62 4 11
canRender()
S
62 4 10
render()
S
60 3 13
wrapperStyledComponent()
S
63 3 11
getBlockStyledElementsByName()
S
64 3 10
create()
S
66 2 9
getDefaultElement()
S
65 2 10
renderInnerBlocks()
S
69 2 7
getAppliedMigrationsClasses()
S
67 2 8
canRegisterStyle()
S
75 2 4
getParentColibriContext()
S
79 1 3
getBlockInnerHtml()
S
71 1 5
mapDynamicStyleToElements()
S
82 1 3
getDynamicStyle()
S
81 1 3
registerStyle()
S
72 1 5
mapPropsToElements()
S
82 1 3
createElement()
S
69 1 8
getLocalIdClass()
S
68 1 7
getStyledElementConfig()
S
78 1 3
elementClass()
S
79 1 3
localId()
S
82 1 3
name()
S
82 1 3
kebabBlockName()
S
78 1 3
blockClass()
S
80 1 3
getAppliedMigrations()
S
80 1 3
getWrapperElementName()
S
79 1 3
createFromJson()
S
75 1 4
getLinkAttribute()
S
79 1 3
getBlockSupport()
S
69 1 7
isSandboxRender()
S
79 1 3